import cv2

cap = cv2.VideoCapture("rtsp://admin:admin@10.90.32.49:8554/live")
cap2 = cv2.VideoCapture(0)
while True:
    ret, frame = cap.read()
    ret2, frame2 = cap2.read()

    cv2.imshow('frame2', frame2)
    # cv2.imshow('img', img)
    cv2.imshow('frame', frame)
    if cv2.waitKey(1) & 0xFF == ord('q'):
        break